package io.github.luons.mediator.dsl.aspect;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * QueryFilter aspect
 *
 * @author : luons
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface QueryFilter {

    /**
     * A single String role name or multiple comma-delimited role names required in order for the method invocation to
     * be allowed.
     * default Class<?> value() default Void.class;
     */
    Class<?> value();
    // Class<?>[] values();

}